package com.cutefool.zero.code.admin.meta.model.consts;

import com.cutefool.rds.meta.libs.RdsFields;

import java.sql.JDBCType;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ModelConsts {

    public static final String SOFT_DELETE = "soft_delete";

    public static final Map<String, List<RdsFields>> fieldsMap = new HashMap<>();

    static {
        // 软删除字段
        RdsFields delete_state = new RdsFields();
        delete_state.setName("delete_state");
        delete_state.setRemark("删除状态,0:未删除，1：已经删除");
        delete_state.setType("");
        List<RdsFields> list = Arrays.asList(delete_state);
        fieldsMap.put(SOFT_DELETE, list);


    }

    /**
     * 软删除字段
     */
    public static final String COLUMN_NAME_SOFT_DELETE = "delete_state";

    /**
     * 软删除字段
     */
    public static final String COLUMN_NAME_SOFT_DELETE_AT = "delete_at";

    /**
     * 软删除字段
     */
    public static final String COLUMN_NAME_SOFT_DELETE_BY = "delete_by";


}
